home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / railway.gls < prev    next >
Text File  |  2000-09-09  |  5KB  |  326 lines

  1. /************/
  2. /* INCLUDES */
  3. /************/
  4.  
  5. // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
  6.  
  7. // default things to inherit our objects from
  8.  
  9. #include "defaults.gsh"
  10.  
  11. // good guys
  12.  
  13. #include "otis.gsh"
  14. #include "fred.gsh"
  15. #include "sniperbot.gsh"
  16.  
  17. // bad guys
  18.  
  19. #include "grover.gsh"
  20. #include "billyjoe.gsh"
  21. #include "turret.gsh"
  22.  
  23. // neutral things
  24.  
  25. #include "mine.gsh"
  26. #include "walking_mine.gsh"
  27. #include "scavenger.gsh"
  28.  
  29. // weapons
  30.  
  31. #include "goodie_laser.gsh"
  32. #include "baddie_laser.gsh"
  33.  
  34. // fires
  35.  
  36. #include "carfire.gsh"
  37. #include "oilfire.gsh"
  38.  
  39. /***********/
  40. /* shapes  */
  41. /***********/
  42.  
  43. // world objects
  44.  
  45. shape Shp_carriage
  46. {
  47.        file "railway.rif"
  48.        name "carriage"
  49. }
  50.  
  51. shape Shp_carriage01
  52. {   
  53.         file "railway.rif"
  54.         name "carriage01"
  55. }
  56.  
  57. shape Shp_carriage02
  58. {
  59.         file "railway.rif"
  60.         name "carriage02"
  61. }
  62.  
  63. shape Shp_carriage03
  64. {
  65.          file "railway.rif"
  66.          name "carriage03"
  67. }
  68.  
  69. shape Shp_carriage04
  70. {
  71.          file "railway.rif"
  72.          name "carriage04"
  73. }
  74.  
  75. shape Shp_engine
  76. {
  77.          file "railway.rif"
  78.          name "engine"
  79. }
  80.  
  81. shape Shp_rail1
  82. {
  83.          file "railway.rif"
  84.          name "rail1"
  85. }
  86.  
  87. shape Shp_rail2
  88.          file "railway.rif"
  89.          name "rail2"
  90. }
  91.  
  92. shape Shp_support
  93. {
  94.          file "railway.rif"
  95.          name "support"
  96. }
  97.  
  98. shape Shp_support01
  99. {
  100.          file "railway.rif"
  101.          name "support01"
  102. }
  103.  
  104. shape Shp_support02
  105. {
  106.          file "railway.rif"
  107.          name "support02"
  108. }
  109.  
  110. shape Shp_support03
  111. {
  112.          file "railway.rif"
  113.          name "support03"
  114. }
  115.  
  116. shape Shp_support04
  117. {
  118.          file "railway.rif"
  119.          name "support04"
  120. }
  121.  
  122. shape Shp_support05
  123. {
  124.          file "railway.rif"
  125.          name "support05"
  126. }
  127.  
  128. shape Shp_support06
  129. {
  130.          file "railway.rif"
  131.          name "support06"
  132. }
  133.  
  134. shape Shp_support07
  135. {
  136.          file "railway.rif"
  137.          name "support07"
  138. }
  139.  
  140. shape Shp_wall1
  141. {
  142.          file "railway.rif"
  143.          name "wall1"
  144. }
  145.  
  146. shape Shp_wall2
  147. {      
  148.           file "railway.rif"
  149.           name "wall2"
  150.  
  151. /**********/
  152. /* ROLES  */
  153. /**********/
  154.  
  155. // world objects
  156.  
  157. role Rol_carriage : Rol_PlacedObject
  158. {
  159.          shape Shp_carriage
  160. }
  161.  
  162. role Rol_carriage01 : Rol_PlacedObject
  163. {
  164.          shape Shp_carriage01
  165. }
  166.  
  167. role Rol_carriage02 : Rol_PlacedObject
  168. {
  169.          shape Shp_carriage02
  170. }
  171.  
  172. role Rol_carriage03 : Rol_PlacedObject
  173. {
  174.          shape Shp_carriage03
  175. }
  176.  
  177. role Rol_carriage04 : Rol_PlacedObject
  178. {
  179.          shape Shp_carriage04
  180. }
  181.  
  182. role Rol_engine : Rol_PlacedObject
  183. {
  184.           shape Shp_engine
  185. }
  186.  
  187. role Rol_rail1 : Rol_PlacedObject
  188. {
  189.           shape Shp_rail1
  190. }
  191.  
  192. role Rol_rail2 : Rol_PlacedObject
  193. {
  194.           shape Shp_rail2
  195. }
  196.  
  197. role Rol_support : Rol_PlacedObject
  198. {
  199.           shape Shp_support
  200. }
  201.  
  202. role Rol_support01 : Rol_PlacedObject
  203. {
  204.           shape Shp_support01
  205. }
  206.  
  207. role Rol_support02 : Rol_PlacedObject
  208. {
  209.           shape Shp_support02
  210. }
  211.  
  212. role Rol_support03 : Rol_PlacedObject
  213. {
  214.           shape Shp_support03
  215. }
  216.  
  217. role Rol_support04 : Rol_PlacedObject
  218. {
  219.           shape Shp_support04
  220. }
  221.  
  222. role Rol_support05 : Rol_PlacedObject
  223. {
  224.           shape Shp_support05
  225. }
  226.  
  227. role Rol_support06 : Rol_PlacedObject
  228. {
  229.           shape Shp_support06
  230. }
  231.  
  232. role Rol_support07 : Rol_PlacedObject
  233. {
  234.           shape Shp_support07
  235. }
  236.  
  237. role Rol_wall1 : Rol_PlacedObject
  238. {
  239.           shape Shp_wall1
  240. }
  241.  
  242. role Rol_wall2 : Rol_PlacedObject
  243. {
  244.           shape Shp_wall2
  245. }
  246.  
  247. /***********/
  248. /* THE MAP */
  249. /***********/
  250.  
  251. map /* _THE_ map - doesnt need a label */
  252. {
  253.     file "railway.rif"
  254.     name "Land"
  255.     bitmap none // obsolete
  256.     camera plane none // TODO
  257.     max camera distance 100 // TBD exactly
  258.  
  259. // Neutral Objects
  260.  
  261. use Rol_carriage in team 0 for
  262.           "carriage"
  263.  
  264. use Rol_carriage01 in team 0 for
  265.           "carriage01"
  266.  
  267. use Rol_carriage02 in team 0 for
  268.           "carriage02"
  269.  
  270. use Rol_carriage03 in team 0 for
  271.           "carriage03"
  272.  
  273. use Rol_carriage04 in team 0 for
  274.           "carriage04"
  275.  
  276. use Rol_engine in team 0 for
  277.           "engine"
  278.  
  279. use Rol_rail1 in team 0 for
  280.           "rail1"
  281.  
  282. use Rol_rail2 in team 0 for
  283.           "rail2"
  284.  
  285. use Rol_support in team 0 for
  286.           "support"
  287.  
  288. use Rol_support01 in team 0 for
  289.           "support01"
  290.  
  291. use Rol_support02 in team 0 for
  292.           "support02"
  293.  
  294. use Rol_support03 in team 0 for
  295.           "support03"
  296.  
  297. use Rol_support04 in team 0 for
  298.           "support04"
  299.  
  300. use Rol_support05 in team 0 for
  301.           "support05"
  302.  
  303. use Rol_support06 in team 0 for
  304.           "support06"
  305.  
  306. use Rol_support07 in team 0 for
  307.           "support07"
  308.  
  309. use Rol_wall1 in team 0 for
  310.           "wall1"
  311.  
  312. use Rol_wall2 in team 0 for
  313.           "wall2"
  314. // PLAYERS TROOPS
  315.     
  316.     use Rol_Otis in team 1 for
  317.         "Goodie A"
  318. // AI'S TROOPS
  319.  
  320.     use Rol_BillyJoe in team 2 for
  321.         "Baddie A"
  322. }
  323.  
  324.